vcRobotProgram

A standard robot program.

See in: Overview

Module: vcRobotics2

Parent: vcProgram

Children -

Referenced by: vcRobotProgramManager.AutoStartProgram

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
MainRoutinevcRoutineRWGets or sets the entry routine for the program. Only one routine can be the main at a time.
VariablesvcPropertyContainerRGets the container of programming variables.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
resetNoneNone"
Abort the program execution and reset the program to its initial state.

Parameters:
None

Returns:
None
startBooleanNone"
Starts or resumes the program execution.
See more
Parameters:
None

Returns:
bool: True if program startred succesfully. False if program can't be started e.g. if it's already running.
stopNoneNone"
Stops the current program execution. The program can be later continued by calling start().

Parameters:
None

Returns:
None

Events

Learn how to use events here. The events are also inherited from the parent class.

NameParametersDescription
OnMainRoutineChangedNoneInvoked when the MainRoutine has changed.
See more
Subscribe with Callable[[vcExecutor2.vcRoutine], None].
The parameter is the new main routine or None.